package cn.jiyun.client;

import cn.jiyun.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("sentinel-provider")
public interface UserFeign {

    @RequestMapping("/getUserById")
    public User getUserById(Integer id);
}
